package com.junzerg.tooltip.entity.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Table;

/**
 * @author pengjz <br>
 * @version 1.0 <br>
 * @description ConfigDao <br>
 * @date 2022/4/10 15:02 <br>
 */
@Data
@TableName("tooltip_config")
public class ConfigDao {

    @TableId(type = IdType.AUTO)
    private int id;

    @TableField(value = "config_key")
    private String configKey;

    @TableField(value = "config_name")
    private String configName;

    @TableField(value = "config_value")
    private String configValue;

    @TableField(value = "created_at")
    private String createdAt;
}
